package com.yunkaweilai.android.model;

import java.util.List;

/**
 * 统计界面店铺收入Bean
 */
public class CountIncomeBean {

    /**
     * 传type 0昨日 1今日 7最近7日 30最近30日
     *
     * {
     *     "loginCode": 1,
     *     "code": 1,
     *     "message": "成功",
     *     "data": {
     *         "info": {
     *             "z_s_payment": "501.00",//总计
     *             "z_cash_s_payment": "501.00",//现金收入
     *             "z_cash_s_payment_per": "100",//现金百分比
     *             "z_bank_s_payment": "0.00",//银行收入
     *             "z_bank_s_payment_per": "0",//现金百分比
     *             "z_wechat_s_payment": "0.00",//微信收入
     *             "z_wechat_s_payment_per": "0",//微信百分比
     *             "z_alipay_s_payment": "0.00",//支付宝收入
     *             "z_alipay_s_payment_per": "0"//支付宝百分比
     *         },
     *         "pie_info": [
     *             {
     *                 "name": "现金",
     *                 "y": 501,
     *                 "z": 100,
     *                 "z_y": 100
     *             },
     *             {
     *                 "name": "银行卡",
     *                 "y": 0,
     *                 "z": 0,
     *                 "z_y": 0
     *             },
     *             {
     *                 "name": "支付宝",
     *                 "y": 0,
     *                 "z": 0,
     *                 "z_y": 0
     *             },
     *             {
     *                 "name": "微信",
     *                 "y": 0,
     *                 "z": 0,
     *                 "z_y": 0
     *             }
     *         ]
     *     }
     * }
     */
    private int loginCode;
    private int code;
    private String message;

    private DataBean data;

    public int getLoginCode() {
        return loginCode;
    }

    public void setLoginCode(int loginCode) {
        this.loginCode = loginCode;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean{
        /**
         *  "data": {
         *         "info": {
         *             "z_s_payment": "501.00",//总计
         *             "z_cash_s_payment": "501.00",//现金收入
         *             "z_cash_s_payment_per": "100",//现金百分比
         *             "z_bank_s_payment": "0.00",//银行收入
         *             "z_bank_s_payment_per": "0",//现金百分比
         *             "z_wechat_s_payment": "0.00",//微信收入
         *             "z_wechat_s_payment_per": "0",//微信百分比
         *             "z_alipay_s_payment": "0.00",//支付宝收入
         *             "z_alipay_s_payment_per": "0"//支付宝百分比
         *         },
         *         "pie_info": [
         *             {
         *                 "name": "现金",
         *                 "y": 501,
         *                 "z": 100,
         *                 "z_y": 100
         *             },
         *             {
         *                 "name": "银行卡",
         *                 "y": 0,
         *                 "z": 0,
         *                 "z_y": 0
         *             },
         *             {
         *                 "name": "支付宝",
         *                 "y": 0,
         *                 "z": 0,
         *                 "z_y": 0
         *             },
         *             {
         *                 "name": "微信",
         *                 "y": 0,
         *                 "z": 0,
         *                 "z_y": 0
         *             }
         *         ]
         *     }
         */
        private Info info;

        private List<Pie_Info> pie_info;

        public Info getInfo() {
            return info;
        }

        public void setInfo(Info info) {
            this.info = info;
        }

        public List<Pie_Info> getPie_info() {
            return pie_info;
        }

        public void setPie_info(List<Pie_Info> pie_info) {
            this.pie_info = pie_info;
        }

        public static class Info{
            /**
             *  "info": {
             *             "z_s_payment": "501.00",//总计
             *             "z_cash_s_payment": "501.00",//现金收入
             *             "z_cash_s_payment_per": "100",//现金百分比
             *             "z_bank_s_payment": "0.00",//银行收入
             *             "z_bank_s_payment_per": "0",//银行百分比
             *             "z_wechat_s_payment": "0.00",//微信收入
             *             "z_wechat_s_payment_per": "0",//微信百分比
             *             "z_alipay_s_payment": "0.00",//支付宝收入
             *             "z_alipay_s_payment_per": "0"//支付宝百分比
             *         },
             */
            private String z_s_payment;//总计
            private String z_cash_s_payment;//现金收入
            private double z_cash_s_payment_per;//现金百分比
            private String z_bank_s_payment;//银行收入
            private double z_bank_s_payment_per;//银行百分比
            private String z_wechat_s_payment;//微信收入
            private double z_wechat_s_payment_per;//微信百分比
            private String z_alipay_s_payment;//支付宝收入
            private double z_alipay_s_payment_per;//支付宝百分比

            public String getZ_s_payment() {
                return z_s_payment;
            }

            public void setZ_s_payment(String z_s_payment) {
                this.z_s_payment = z_s_payment;
            }

            public String getZ_cash_s_payment() {
                return z_cash_s_payment;
            }

            public void setZ_cash_s_payment(String z_cash_s_payment) {
                this.z_cash_s_payment = z_cash_s_payment;
            }

            public String getZ_bank_s_payment() {
                return z_bank_s_payment;
            }

            public void setZ_bank_s_payment(String z_bank_s_payment) {
                this.z_bank_s_payment = z_bank_s_payment;
            }

            public double getZ_bank_s_payment_per() {
                return z_bank_s_payment_per;
            }

            public void setZ_bank_s_payment_per(int z_bank_s_payment_per) {
                this.z_bank_s_payment_per = z_bank_s_payment_per;
            }

            public double getZ_cash_s_payment_per() {
                return z_cash_s_payment_per;
            }

            public void setZ_cash_s_payment_per(int z_cash_s_payment_per) {
                this.z_cash_s_payment_per = z_cash_s_payment_per;
            }

            public String getZ_wechat_s_payment() {
                return z_wechat_s_payment;
            }

            public void setZ_wechat_s_payment(String z_wechat_s_payment) {
                this.z_wechat_s_payment = z_wechat_s_payment;
            }

            public double getZ_wechat_s_payment_per() {
                return z_wechat_s_payment_per;
            }

            public void setZ_wechat_s_payment_per(int z_wechat_s_payment_per) {
                this.z_wechat_s_payment_per = z_wechat_s_payment_per;
            }

            public String getZ_alipay_s_payment() {
                return z_alipay_s_payment;
            }

            public void setZ_alipay_s_payment(String z_alipay_s_payment) {
                this.z_alipay_s_payment = z_alipay_s_payment;
            }

            public double getZ_alipay_s_payment_per() {
                return z_alipay_s_payment_per;
            }

            public void setZ_alipay_s_payment_per(int z_alipay_s_payment_per) {
                this.z_alipay_s_payment_per = z_alipay_s_payment_per;
            }
        }

        public static class Pie_Info{
            /**
             *  "name": "现金",
             *  "y": 501,
             *  "z": 100,
             *  "z_y": 100
             */
            private String name;
            private String y;
            private String z;
            private String z_y;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getY() {
                return y;
            }

            public void setY(String y) {
                this.y = y;
            }

            public String getZ() {
                return z;
            }

            public void setZ(String z) {
                this.z = z;
            }

            public String getZ_y() {
                return z_y;
            }

            public void setZ_y(String z_y) {
                this.z_y = z_y;
            }
        }

    }

}
